<!-- ############################## body content ############################## -->
<div id="body_content">
	<div id="tours_line">
    	<img src="<?php echo base_url(); ?>public/images/home_icon.png" alt="" align="left" style="margin:-4px 5px 0px 0px;" /><a href="<?php echo base_url(); ?>">Home</a> &raquo; <a href="javascript:void(0)"><?php echo $catename; ?></a> &raquo; <a href="javascript:void(0)"><?php echo $title; ?></a>
    </div>
    <!--div id="tours_img">
    	<img src="<?php echo base_url(); ?>public/images/slideimg_halong.jpg" alt="" />
    </div-->
    <div id="tours_content">
      	<div id="detail_l">
        	<div id="detail_l_top">
            	<div id="showimg">
                	<div id="show_m"><img src="<?php echo base_url(); ?>uploads/hottels/<?php echo $result['hottel_image1']; ?>" width="360" height="240" /></div>
                    <script type="text/javascript">
					  	$(document).ready(function(e) {
					    	$(".tabs_items").hide();
							$(".tabs_items").eq(0).show();					
		                    $(".ultabs li a").click(function(){
								$item = $(this).attr("name");
								$(".active").removeClass("active");
								$(this).addClass("active");
								$(".tabs_items").hide();
								$(".tabs_items").eq($item).fadeIn("fast");
							});
							$("ul.listimg li a").click(function(){
								name = $(this).attr("name");
								$("#show_m").html("<img src='<?php echo base_url(); ?>uploads/hottels/"+name+"' width='360' height='240' />");
							});
		                });
		              </script>
                	<div id="show_list">
                    	<ul class="listimg">
                        	<?php
							for($i=1;$i<=4;$i++){
								if($result['hottel_image'.$i] != NULL){
									echo "<li><a href='javascript:void(0)' name='".$result['hottel_image'.$i]."'><img src='".base_url()."uploads/hottels/thumb/".$result['hottel_image'.$i]."' /></a></li>";
								}
							}
							?>
                    	</ul>
                        <div class="cls"></div>
                    </div>
                </div>
           	  <div id="showdetail">
                <h3><?php echo $result['hottel_name']; ?></h3>
                <p>Hottel code : <?php echo $result['hottel_code']; ?></p>
                <p style="font-weight:bold">Phone : <?php echo $result['hottel_phone']; ?></p>
                <p>Address : <?php echo $result['hottel_add']; ?></p>
                  <table width="332" border="0" cellspacing="0" cellpadding="0" style="margin-top:20px;">
				    <tr>
				      <td width="189" style="padding-right:20px">
                       	  <p style="border-bottom:1px solid #CCC;padding-bottom:10px">Price : </p>
                          <!--p style="font-weight:bold;text-decoration:line-through;font-size:15px;">US $<?php //echo $result['hottel_price_old']; ?></p-->
                          <p style="font-size:25px;color:#0c584e">US $<?php echo $result['hottel_price']; ?></p>
                      </td>
				      <td width="137">
                       	  <a href="<?php echo base_url()."home/order/index/".$result['hottel_id']."/hottel"; ?>"><img src="<?php echo base_url(); ?>public/images/book_now.jpg" alt="" /></a>
                          <p style="text-align:right;color:#0c584e;font-weight:bold;padding-right:10px;margin-top:5px;"><input type="checkbox" checked="checked" style="margin:2px 5px 0px 0px" />available</p>
                          <p>Claim for <?php echo $result['hottel_name']; ?> Guaranteed</p>
                      </td>
				    </tr>
				  </table>
              </div>
              <div class="cls"></div>
              <div id="itinarary">
              	  <div class="tabsitems">
                  		<ul class="ultabs">
                  			<li><a href="javascript:void(0)" name="0" style="margin-left:0px" class="active">Hottel introduction</a></li>
                  			<li><a href="javascript:void(0)" name="1">Hottel prices</a></li>
                  			<li><a href="javascript:void(0)" name="2">Hottel rate</a></li>
                  		</ul>
                  </div>
                  <div class="cls"></div>
              	  <div class="tab_content" style="min-height:200px">
                  	 	<div class="tabs_items"><?php echo $result['hottel_info']; ?></div>
                  	 	<div class="tabs_items">Hottel prices</div>
                  	 	<div class="tabs_items">Hottel rate</div>
                  </div>
              </div>
            </div>
            <div class="cls"></div>
        	<div id="detail_l_bot">
                <div class="related_title">	
                	<h2>RELATED HOTTELS</h2>
                </div>
                <div class="related_content">
                <?php
				if(isset($related) && $related != NULL){
					foreach($related as $hottel){	
				?>
                	<div class="tour_items">
                    	<div class="tour_items_l"><img src="<?php echo base_url()."uploads/hottels/thumb/".$hottel['hottel_image1']; ?>" alt="" width="173" /></div>
                    	<div class="tour_items_m">
                        	<p style="margin-bottom:10px"><a style="font-weight:bold;" href="<?php echo base_url().$extends."/hottels/".$hottel['hottel_name_rewrite']."-".$hottel['hottel_id']; ?>.html"><?php echo $hottel['hottel_name']; ?></a></p>
                            <p>Address : <?php echo $hottel['hottel_add']; ?></p>
                            <p>Phone : <?php echo $hottel['hottel_phone']; ?></p>                            
                            <p><?php echo $hottel['hottel_short_info']; ?></p>
                            <!--p>Open cruise promotion : 15% off</p-->
                        </div>
                    	<div class="tour_items_r">
                        	<p>From USD</p>
                            <div><span class="price_rate"><?php //echo $hottel['hottel_price_old']; ?></span><span class="price_promo">$<?php echo $hottel['hottel_price']; ?></span></div>
                            <div class="clr"></div>
                            <!--p>Per person</p-->
                            <a href="<?php echo base_url().$extends."/hottels/".$hottel['hottel_name_rewrite']."-".$hottel['hottel_id']; ?>.html" class="viewdetail">View Hottel Detail</a>
                        </div>
                        <div class="cls"></div>
                    </div>
               <?php } } ?>
                </div>
            </div>
        </div>
      	<div id="detail_r">
        	<div id="hottours">
              	<div class="hot_top"><h3>HIGHLY RECOMMENDED</h3></div>
              	<div class="hot_related">
                <?php
				if(isset($relatedtop)){
					foreach($relatedtop as $showtop){
						echo "<div class='hight_show'>";
							echo "<p><a href='".base_url().$extends."/hottels/".$showtop['hottel_name_rewrite']."-".$showtop['hottel_id'].".html'>".$showtop['hottel_name']."</a></p>";
							echo "<p>".$showtop['hottel_add']."</p>";
							echo "<p>Start from : $".$showtop['hottel_price']."</p>";
						echo "</div>";
					}
				}
				?>
                </div>
            </div>
            <div id="support_online"><img src="<?php echo base_url(); ?>public/images/support_online.jpg" width="210" height="135" /></div>
            <div id="custom_trip"><img src="<?php echo base_url(); ?>public/images/custom_your_trip.jpg" width="210" /></div>
            <div id="travel_guide"><img src="<?php echo base_url(); ?>public/images/travel_guide.jpg" width="210" height="135" /></div>
        </div>
        <div class="cls"></div>
    </div>
</div>
<!-- ############################## end body content ############################## -->